projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec9f25b
)
Fix thinko in ls-lisp--insert-directory
author
Michael Albinus
<michael.albinus@gmx.de>
Sat, 9 Oct 2021 14:18:53 +0000
(16:18 +0200)
committer
Michael Albinus
<michael.albinus@gmx.de>
Sat, 9 Oct 2021 14:18:53 +0000
(16:18 +0200)
* lisp/ls-lisp.el (ls-lisp--insert-directory): Ensure that
SWITCHES is a string.
lisp/ls-lisp.el
patch
|
blob
|
history
diff --git
a/lisp/ls-lisp.el
b/lisp/ls-lisp.el
index 8e81f79e4294cc058f92b91745a0fbcf64645765..82153ff0adb68d813301c1d64c2b3ef294a0d170 100644
(file)
--- a/
lisp/ls-lisp.el
+++ b/
lisp/ls-lisp.el
@@
-283,6
+283,7
@@
are also supported; unsupported long options are silently ignored."
(funcall orig-fun
file switches wildcard full-directory-p)
;; We need the directory in order to find the right handler.
+ (setq switches (or switches ""))
(let ((handler (find-file-name-handler (expand-file-name file)
'insert-directory))
(orig-file file)